<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<input type="text" name="" id="" value="" v-model.number="val"/>
			{{val|currencyDisplay}}
		</div>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			Vue.filter('currencyDisplay', function(val) {
			return '$'+val.toFixed(2)
			},
			);
			new Vue({
				el:'#app',
				data:{
					val:5.35353
				}
			})
		</script>
		

	</body>
</html>
